package com.fowo.api.syncLingxingApi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


@DS("ds24")
@Data
@TableName(value = "tmp_sync_lingxing_to_aux_list", autoResultMap = true)
public class TmpSyncLingxingToAuxList extends TmpSyncLingxingToAuxBase implements Serializable {

    private static final long serialVersionUID = 1L;

    public TmpSyncLingxingToAuxList() {
        super();
    }

    @Schema(title = "关联产品")
    @TableField("aux_relation_product")
    @JSONField(name = "aux_relation_product")
    private String auxRelationProduct;

    @Schema(title = "供应商报价信息")
    @TableField("purchase_supplier_quote")
    @JSONField(name = "purchase_supplier_quote")
    private String purchaseSupplierQuote;


    @Schema(title = "关联产品")
    @TableField(exist = false)
    private List<TmpSyncLingxingToAuxListAuxRelationProduct> auxRelationProductMirror;

    @Schema(title = "供应商报价信息")
    @TableField(exist = false)
    private List<TmpSyncLingxingToAuxListPurchaseSupplierQuote> purchaseSupplierQuoteMirror;



    @Schema(title = "产品名称")
    @TableField("product_name")
    @JSONField(name = "product_name")
    private String productName;

    @Schema(title = "分类ID")
    @TableField("cid")
    @JSONField(name = "cid")
    private Long cid;

    @Schema(title = "采购成本（人民币）")
    @TableField("cg_price")
    @JSONField(name = "cg_price")
    private BigDecimal cgPrice;

    @Schema(title = "采购产品长度")
    @TableField("cg_product_length")
    @JSONField(name = "cg_product_length")
    private BigDecimal cgProductLength;

    @Schema(title = "采购产品宽度")
    @TableField("cg_product_width")
    @JSONField(name = "cg_product_width")
    private BigDecimal cgProductWidth;

    @Schema(title = "采购产品高度")
    @TableField("cg_product_height")
    @JSONField(name = "cg_product_height")
    private BigDecimal cgProductHeight;

    @Schema(title = "采购产品净重")
    @TableField("cg_product_net_weight")
    @JSONField(name = "cg_product_net_weight")
    private BigDecimal cgProductNetWeight;

    @Schema(title = "备注")
    @TableField("remark")
    @JSONField(name = "remark")
    private String remark;

    @Schema(title = "是否辅料")
    @TableField("is_aux")
    @JSONField(name = "is_aux")
    private String isAux;


}